<?php
/**
 * [KeCms] Copyright (c) 2017 kecms.cn
 * [Author] King east ( 1207877378@qq.com )
 */

namespace app\common\behavior;


use think\App;
use think\Config;

class Configload
{
    public function run()
    {
        Config::load(ROOT_PATH.'config/database.php','database');
        Config::load(ROOT_PATH.'config/wx.php','wx');
        if(App::$debug){
            define('VUE','vue.js');
        }else{
            define('VUE','vue.min.js');
        }
    }

}